import sys
if len(sys.argv) != 2:
    print("please supply a filename")
    raise SystemExit(1)

f = open(sys.argv[1])
lines = f.readlines()
f.close()

fvalues = [float(line) for line in lines if line.strip()]

print("The minimum value is ", min(fvalues))
print("The maximum value is ", max(fvalues))
